home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / battle_of_the_bands.swf / scripts / koko / URLUtil.as < prev   
Text File  |  2011-09-19  |  489b  |  22 lines

  1. package koko
  2. {
  3.    import flash.external.ExternalInterface;
  4.    
  5.    public class URLUtil
  6.    {
  7.       
  8.       protected static const WINDOW_OPEN_FUNCTION:String = "window.open";
  9.        
  10.       
  11.       public function URLUtil()
  12.       {
  13.          super();
  14.       }
  15.       
  16.       public static function openWindow(param1:String, param2:String = "_blank", param3:String = "") : void
  17.       {
  18.          ExternalInterface.call(WINDOW_OPEN_FUNCTION,param1,param2,param3);
  19.       }
  20.    }
  21. }
  22.